package com.usian.skill.mq;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;



@Configuration
public class MqConfig {

    public static  final  String QUEUE ="queue";
    public static  final  String SKillQUEUE ="skillqueue";

    @Bean
    public Queue queue(){
        return new Queue(QUEUE,true);
    }

    @Bean
    public Queue queue2(){
        return new Queue(SKillQUEUE,true);
    }
}
